const str = 'zhangBinWen'
console.log(str.replace(/[A-Z]/g, match => {
    return '-' +match.toLowerCase()
}))
